package de.so.myteach;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class PupilDetailContactInfoFragment extends Fragment
{
  public void onActivityCreated(Bundle paramBundle)
  {
    super.onActivityCreated(paramBundle);
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
  }

  public View onCreateView(LayoutInflater paramLayoutInflater, ViewGroup paramViewGroup, Bundle paramBundle)
  {
    View localView = paramLayoutInflater.inflate(R.layout.activity_pupil_detail_contactinfo, paramViewGroup, false);
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_name)).setText("Frau Henrike Mustermann");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_relation)).setText("Beziehung: Mutter");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_phone1)).setText("Telefon 1: 00000-0000000");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_phone2)).setText("Telefon 2: 11111-1111111");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_email)).setText("E-Mail: henrike.mustermann@blabla.de");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo1_adress)).setText("Adresse: Musterstraße 12, 123456 Musterhausen");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_name)).setText("Herr Ulf Mustermann");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_relation)).setText("Beziehung: Vater");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_phone1)).setText("Telefon 1: 00000-0000000");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_phone2)).setText("Telefon 2: 11111-1111111");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_email)).setText("E-Mail: ulf.mustermann@blabla.de");
    ((TextView)localView.findViewById(R.id.activity_pupil_detail_contactinfo2_adress)).setText("Adresse: Musterstraße 12, 123456 Musterhausen");
    return localView;
  }
}
